<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@page contentType="application/json; charset=UTF-8"%>
<%-- Transform result into JSON output for consumption by Ajax call --%>
[
	<c:forEach items="${stopBeans}" var="myData" varStatus="id">
            {"id" : "<c:out value="${myData.stopId}"/>",
            "runid" : "<c:out value="${myData.runId}"/>",
            "routeid" : "<c:out value="${myData.routeId}"/>",
            "name" : "<c:out value="${myData.stopTitle}"/>",
            "user_id" : "<c:out value="${myData.userId}"/>"}<c:if test="${!id.last}">,</c:if>
      </c:forEach>
]
